
var express = require('express');
var users = require('./users');
var menus = require('./menus');
var assets = require('./asset');
var ueditor = require('./ueditor');
var property = require('./property')
var userSetting = require('./userSetting');
var sysrole = require('./sysrole')
var delivery = require('./delivery')
var sysrolePermission = require('./sysrolePermission')
var units = require('./units')
var wechatUser = require('./wechatUser')
var messageHandler = require('./messageHandler')
var bill = require("./bill")
var sysuser = require('./sysuser')
var billLine = require("./billLine")
var sysRoleUser = require("./sysRoleUser")
var billboard = require("./billboard");
var pushMessage = require("./pushMessage");
var suggestions = require("./suggestion")
var news = require("./news")
var sysRoleMenu = require("./sysRoleMenu")
var work = require("./work")
var calendar = require("./calendar")
var wechatLink = require("./wechatLink")

let app = express();

app.use("/users", users)
app.use("/menus", menus);
app.use("/assets", assets)
app.use("/ueditor", ueditor)
app.use("/property", property)
app.use("/user_settings", userSetting)
app.use("/sysrole", sysrole)
app.use("/delivery", delivery)
app.use("/sysrolePermission", sysrolePermission)
app.use("/units", units)
app.use("/wechatUser", wechatUser)
app.use("/messageHandler", messageHandler)
app.use("/bill", bill)
app.use("/sysuser", sysuser)
app.use("/billLine", billLine)
app.use("/sysRoleUser", sysRoleUser)
app.use("/billboard", billboard)
app.use("/pushMessage", pushMessage)
app.use("/suggestions", suggestions);
app.use("/news", news);
app.use("/sysRoleMenu", sysRoleMenu);
app.use("/work", work)
app.use("/calendar", calendar)
app.use("/wechatLink", wechatLink)

module.exports = app
